package com.qf.mapper;

import com.qf.pojo.AirPojo;
import com.qf.pojo.DistrictPojo;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface AirMapper {
    //查询所有/如果有条件按条件查询
    public List<AirPojo> findAll(AirPojo airPojo);
    //增加信息
    public void addair(AirPojo airPojo);
    //通过检测区域查询然后去更新
    public AirPojo selectBydis(int id);
    //通过id更新
    public void updateair(AirPojo airPojo);
    //更具id删除
    public void deleteair(int  id);
    //查询所有的区
    public List<DistrictPojo> selectall();
   /* //查询所选的区
    public List<AirPojo> slesctBYdisc(int district_id);*/
}
